<?php 
class ProfileRight extends CWidget{

	public function run(){
 		$topevents = Events::model()->findAll('hot="Y" ORDER BY posteddate DESC LIMIT 4');
		$this->render('profileRight',array('topevents'=>$topevents));
	}
}

 ?>